# $Id: PKGBUILD 151241 2012-02-25 09:49:53Z allan $
# Maintainer: Jan de Groot <jgc@archlinux.org>

pkgname=renderproto
pkgver=0.11.1
pkgrel=2
pkgdesc="X11 Render extension wire protocol"
arch=(any)
url="http://xorg.freedesktop.org/"
license=('custom')
source=(http://xorg.freedesktop.org/releases/individual/proto/${pkgname}-${pkgver}.tar.bz2)
sha1sums=('7ae9868a358859fe539482b02414aa15c2d8b1e4')

build() {
  cd ${srcdir}/${pkgname}-${pkgver}
  ./configure --prefix=/usr
  make
}

package() {
  cd ${srcdir}/${pkgname}-${pkgver}
  make DESTDIR=${pkgdir} install
  install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
}
